package com.itbaizhan.pojo;

import java.util.ArrayList;
import java.util.List;

public class Items {
    private int itemid;
    private String itemname;
    private double iremprice;
    private int intemnum;

    //一个用户可以有多个订单
    private  List<Orders> orders = new ArrayList<>();

    public int getItemid() {
        return itemid;
    }

    public void setItemid(int itemid) {
        this.itemid = itemid;
    }

    public String getItemname() {
        return itemname;
    }

    public void setItemname(String itemname) {
        this.itemname = itemname;
    }

    public double getIremprice() {
        return iremprice;
    }

    public void setIremprice(double iremprice) {
        this.iremprice = iremprice;
    }

    public int getIntemnum() {
        return intemnum;
    }

    public void setIntemnum(int intemnum) {
        this.intemnum = intemnum;
    }

    public List<Orders> getOrders() {
        return orders;
    }

    public void setOrders(List<Orders> orders) {
        this.orders = orders;
    }
}
